// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FIN_SUPPLIER_ACCOUNT_ITEM
// * CreateDate    : 2012/2/2 10:17:12
// * Creater       : CodeSmith
// * LastChangeDate: 2012/2/2 10:17:12
// * LastChanger   : 2012/2/2 10:17:12
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FinSupplierAccountItemTable : TableInfo
    {
		public const string C_TableName = "FIN_SUPPLIER_ACCOUNT_ITEM";
		
		public const string C_SUPPLIER_ACCOUNT_ITEM_ID = "SUPPLIER_ACCOUNT_ITEM_ID";
		public const string C_SUPPLIER_ID = "SUPPLIER_ID";
		public const string C_AMOUNT_DATE = "AMOUNT_DATE";
		public const string C_AMOUNT_PERSON = "AMOUNT_PERSON";
		public const string C_PURCHASE_ORDER_AMOUNT = "PURCHASE_ORDER_AMOUNT";
		public const string C_BILLING_AMOUNT = "BILLING_AMOUNT";
		public const string C_PAID_AMOUNT = "PAID_AMOUNT";
		public const string C_PAYABLE_AMOUNT = "PAYABLE_AMOUNT";
		public const string C_ARRIVED_AMOUNT_NO_BILLING = "ARRIVED_AMOUNT_NO_BILLING";
		public const string C_ARRIVED_AMOUNT_BILLED = "ARRIVED_AMOUNT_BILLED";
		public const string C_RELATED_ORDER_ID = "RELATED_ORDER_ID";
		public const string C_RELATED_ORDER_CODE = "RELATED_ORDER_CODE";
		
		public FinSupplierAccountItemTable()
        {
            _tableName = "FIN_SUPPLIER_ACCOUNT_ITEM";
        }
		
		protected static FinSupplierAccountItemTable _current;
        public static FinSupplierAccountItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FinSupplierAccountItemTable();

            _current.Add(C_SUPPLIER_ACCOUNT_ITEM_ID, new ColumnInfo(C_SUPPLIER_ACCOUNT_ITEM_ID,"SupplierAccountItemId", true, typeof(string)));
            _current.Add(C_SUPPLIER_ID, new ColumnInfo(C_SUPPLIER_ID,"SupplierId", false, typeof(string)));
            _current.Add(C_AMOUNT_DATE, new ColumnInfo(C_AMOUNT_DATE,"AmountDate", false, typeof(DateTime)));
            _current.Add(C_AMOUNT_PERSON, new ColumnInfo(C_AMOUNT_PERSON,"AmountPerson", false, typeof(string)));
            _current.Add(C_PURCHASE_ORDER_AMOUNT, new ColumnInfo(C_PURCHASE_ORDER_AMOUNT,"PurchaseOrderAmount", false, typeof(decimal)));
            _current.Add(C_BILLING_AMOUNT, new ColumnInfo(C_BILLING_AMOUNT,"BillingAmount", false, typeof(decimal)));
            _current.Add(C_PAID_AMOUNT, new ColumnInfo(C_PAID_AMOUNT,"PaidAmount", false, typeof(decimal)));
            _current.Add(C_PAYABLE_AMOUNT, new ColumnInfo(C_PAYABLE_AMOUNT,"PayableAmount", false, typeof(decimal)));
            _current.Add(C_ARRIVED_AMOUNT_NO_BILLING, new ColumnInfo(C_ARRIVED_AMOUNT_NO_BILLING,"ArrivedAmountNoBilling", false, typeof(decimal)));
            _current.Add(C_ARRIVED_AMOUNT_BILLED, new ColumnInfo(C_ARRIVED_AMOUNT_BILLED,"ArrivedAmountBilled", false, typeof(decimal)));
            _current.Add(C_RELATED_ORDER_ID, new ColumnInfo(C_RELATED_ORDER_ID,"RelatedOrderId", false, typeof(string)));
            _current.Add(C_RELATED_ORDER_CODE, new ColumnInfo(C_RELATED_ORDER_CODE,"RelatedOrderCode", false, typeof(string)));
			
		}
		
		public ColumnInfo SUPPLIER_ACCOUNT_ITEM_ID
        {
            get { return this[C_SUPPLIER_ACCOUNT_ITEM_ID]; }
        }
		
		public ColumnInfo SUPPLIER_ID
        {
            get { return this[C_SUPPLIER_ID]; }
        }
		
		public ColumnInfo AMOUNT_DATE
        {
            get { return this[C_AMOUNT_DATE]; }
        }
		
		public ColumnInfo AMOUNT_PERSON
        {
            get { return this[C_AMOUNT_PERSON]; }
        }
		
		public ColumnInfo PURCHASE_ORDER_AMOUNT
        {
            get { return this[C_PURCHASE_ORDER_AMOUNT]; }
        }
		
		public ColumnInfo BILLING_AMOUNT
        {
            get { return this[C_BILLING_AMOUNT]; }
        }
		
		public ColumnInfo PAID_AMOUNT
        {
            get { return this[C_PAID_AMOUNT]; }
        }
		
		public ColumnInfo PAYABLE_AMOUNT
        {
            get { return this[C_PAYABLE_AMOUNT]; }
        }
		
		public ColumnInfo ARRIVED_AMOUNT_NO_BILLING
        {
            get { return this[C_ARRIVED_AMOUNT_NO_BILLING]; }
        }
		
		public ColumnInfo ARRIVED_AMOUNT_BILLED
        {
            get { return this[C_ARRIVED_AMOUNT_BILLED]; }
        }
		
		public ColumnInfo RELATED_ORDER_ID
        {
            get { return this[C_RELATED_ORDER_ID]; }
        }
		
		public ColumnInfo RELATED_ORDER_CODE
        {
            get { return this[C_RELATED_ORDER_CODE]; }
        }
		
		
		
	}
}

